import { createApp } from 'vue'
const app = createApp(App);
import App from './App.vue'
import router from "./router/index"
import Vant from 'vant';
import 'vant/lib/index.css';

// svgIcon的组件
import svgIcon from '@/components/svgIcon'
import './assets/icons' // icon
// 全局注册svgIcon
app.component('svg-icon', svgIcon)
app.use(router)
app.use(Vant);
app.config.warnHandler = () => null;
app.mount('#app')
